package com.zzw.mvvm;

import android.content.Intent;
import android.webkit.WebView;
import android.widget.TextView;

import com.zzw.mvvm.base.BaseActivity;
import com.zzw.mvvm.pages.demo.NoViewModelActivity;
import com.zzw.mvvm.pages.demo.RecycleViewActivity;
import com.zzw.mvvm.pages.demo.WebActivity;
import com.zzw.mvvm.pages.main.MainFragment;
import com.zzw.mvvm.viewmodels.main.MainViewModel;

import androidx.lifecycle.Observer;
import butterknife.BindView;

public class MainActivity extends BaseActivity{


    @Override
    public int getLayoutId() {
        return R.layout.activity_main;
    }

    @Override
    public void bindViewModel() {

    }

    @Override
    protected void onStart() {
        super.onStart();
        toOtherAct();
    }

    private void initFragment(){

    }

    private void toOtherAct() {
       // Intent intent = new Intent(this, NoViewModelActivity.class);
        //Intent intent = new Intent(this, StatusDemoActivity.class);
        //Intent intent=new Intent(this, DataBaseDemoActivity.class);
         Intent intent=new Intent(this, RecycleViewActivity.class);
        //Intent intent=new Intent(this, WebActivity.class);
        startActivity(intent);
    }

}
